﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using NBA.DataAccess;
using NBA.Business;

namespace NBA.UI.manage
{
    public partial class MatchTracking : System.Web.UI.Page
    {
        private DaTeamInfo daTeamInfo = new DaTeamInfo();
        private DaMatchInfo daMatchInfo = new DaMatchInfo();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //txtAddress.Text = "http://nba.sports.163.com/2011/schedule/week/2011-50.html";
                //txtAddress.Text = "http://nba.sports.163.com/2011/match/stat/15035.html";
                //txtAddress.Text = "http://china.nba.com/stats/league/boxscore/0011100001_00.html";
                txtAddress.Text = "http://nba.sports.sina.com.cn/match_result.php?day=-1";
            }
        }

        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            MatchListMonitor4Sina.ReadMatchList(txtAddress.Text);
            //MatchListMonitor4ChinaNba.ReadMatchList(txtAddress.Text);
        }
    }
}